package com.aind.cart.service;

import com.aind.cart.model.Cart;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by lpeng on 2017/2/22.
 */
public interface CartService {

    /**
     * 通过userid查询购物车
     * @param userId
     * @return
     */
    List<Cart> getCartListByUserId(Long userId);
}
